]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
polkitAgent: Remove styleClass argument for caps lock warning
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 23 Jan 2020 22:25:38 +0000 (23:25 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 30 Jan 2020 14:35:26 +0000 (14:35 +0000)
The caps lock warning now has its own css class that works for this
case, too. Remove the custom class parameter and just use the default
one.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

js/ui/components/polkitAgent.js

index 8aea297244a4c069a10963b6af46e04b0f4f13ed..e2b056fe18378deb17162d532f62756db631a42f 100644 (file)
@@ -108,8 +108,8 @@ var AuthenticationDialog = GObject.registerClass({
         this._passwordBox.add(this._workSpinner);
 
         this._passwordBox.hide();
-        this._capsLockWarningLabel = new ShellEntry.CapsLockWarning({ style_class: 'prompt-dialog-caps-lock-warning' });
-        content.add_child(this._capsLockWarningLabel);
+        let capsLockWarning = new ShellEntry.CapsLockWarning();
+        content.add_child(capsLockWarning);
 
         this._errorMessageLabel = new St.Label({ style_class: 'prompt-dialog-error-label' });
         this._errorMessageLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;